package factory.abstr;

import factory.func.Factory;

/**
 * Created by liuweijie on 2018/4/24.
 */
public class Test {

    public static void main(String[] args){
        Factory f = new DefaultFactory();
        f.getComputer().play();
        System.out.println("******");
        new DefaultFactory().getComputer("Asus").play();
    }
}
